Leat\Infrastructure\Repositories\LeatContactRepository C

Total Complexity 112
Dependencies 11
Dependents 14
Total lines 1,004
Lines of code 680
Logical lines of code 295
Comment lines 198
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
get_by_wp_id()
A
45 9 46
find_or_create_wp_user_by_uuid()
A
46 8 41
find_or_create()
A
47 8 40
format_contact()
A
46 8 39
get_wc_guest_data()
A
43 6 49
get_purchased_categories()
S
50 7 30
get_wc_order_data()
S
44 6 43
get_required_attributes()
S
36 1 109
ensure_custom_attributes_exist()
S
54 6 21
update_with_basic_attributes_from_order()
S
48 5 33
get_uuid_by_wp_id()
S
57 6 16
create()
S
51 5 29
update()
S
54 5 21
update_with_user_attributes()
S
55 4 19
update_with_guest_attributes()
S
55 4 19
get_by_uuid()
S
58 4 16
get_by_email()
S
58 4 16
get_user_attributes()
S
57 3 15
get_product_categories_options()
S
59 2 16
attribute_exists()
S
67 3 8
get_first_order_data()
S
59 2 15
get_total_products_purchased()
S
64 3 10
get_default_wc_attributes()
S
60 1 14
get_multisite_blogs()
S
65 1 10
__construct()
S
73 1 5